package myschool.myshchool15.homework;

import java.util.Scanner;
/**用户管理*/
public class CustomerInformation {
    public static void main(String[] args) {
         Scanner input = new Scanner(System.in);
        System.out.println("MyShopping管理系统>客户信息管理 >添加客户信息");
        int member;
        String birthday;
        int integral;
        for (int i = 1; i <=3 ; i++) {
            System.out.println("请输入会员号（<4位整数>）：");
            member = input.nextInt();
            if(member>9999 || member<1000){
                System.out.println("会员号错误录入失败请重新输入");
                i--;
                continue;
            }
            System.out.println("请输入会员生日（月/日<用两位整数表示>）：");
            birthday = input.next();
            System.out.println("请输入会员积分：");
            integral = input.nextInt();
            System.out.println("你录入的会员信息是：\n"+member+"\t"+birthday+"\t"+integral);

        }

    }

}
